package com.library.entity;

/**
 * 借书证操作记录
 */
public class Cardrec {
    private String sno; //学号
    private String originCardNo; //原卡号
    private String newCardNo; //新卡号
    private String opType; //操作类型
    private Integer serNum; //流水号

    public Cardrec() {
    }

    public Cardrec(String sno, String originCardNo, String newCardNo, String opType, Integer serNum) {
        this.sno = sno;
        this.originCardNo = originCardNo;
        this.newCardNo = newCardNo;
        this.opType = opType;
        this.serNum = serNum;
    }

    public String getSno() {
        return sno;
    }

    public void setSno(String sno) {
        this.sno = sno;
    }

    public String getOriginCardNo() {
        return originCardNo;
    }

    public void setOriginCardNo(String originCardNo) {
        this.originCardNo = originCardNo;
    }

    public String getNewCardNo() {
        return newCardNo;
    }

    public void setNewCardNo(String newCardNo) {
        this.newCardNo = newCardNo;
    }

    public String getOpType() {
        return opType;
    }

    public void setOpType(String opType) {
        this.opType = opType;
    }

    public Integer getSerNum() {
        return serNum;
    }

    public void setSerNum(Integer serNum) {
        this.serNum = serNum;
    }

    @Override
    public String toString() {
        return "Cardrec{" +
                "sno='" + sno + '\'' +
                ", originCardNo='" + originCardNo + '\'' +
                ", newCardNo='" + newCardNo + '\'' +
                ", opType='" + opType + '\'' +
                ", serNum=" + serNum +
                '}';
    }
}
